<%@ page import="br.edu.ufam.academico.Curso" %>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="layout" content="main"/>
  <g:javascript library="app/buttons"/>
  <script type="text/javascript">function goToPage(params){
    
  }</script>
</head>
<body>
  <h1>Selecionar Curso</h1><hr/>
  <h4>* Somente cursos que possuem mais de uma avaliacao realizada!</h4>
  <br/>

  <div class="body" style="width: 1000px">
    <g:if test="${flash.message}">
      <div class="message">${flash.message}</div>
    </g:if>
    <g:form action="list" >
      <g:select id="curso" name="cursoId" from="${cursoList}" optionKey="id" value="${cursoInstance?.id}"  />

      <div class="buttons">
        <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'Selecionar', default: 'Selecionar')}" /></span>
      </div>
    </g:form>
  </div>

</body>
</html>